<%@page import="com.icngor.db.ConnectDB"%>
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%!
public static String reLogin(){
	return "<a href=\"./register.jsp\">重新注册</a>"; 
}
 %>
<%
String name = request.getParameter("userId");
String password1 = request.getParameter("password1");
String password2 = request.getParameter("password2");
String email = request.getParameter("youxiang");
out.print(name+password1+password2+email);

if(!(password1.equals(password2))){
out.print("两次密码不一至"+reLogin());
}

%>
<jsp:forward page="register2.jsp" />